package com.wps.synergy.rpc.events
{
	import flash.events.Event;
	
	public class ShareEvent extends Event
	{
		//事件的类型
		public static const SHARE_SUCCESS: String = "shareSuccess";
		public static const SHARE_FAIL:String = "shareFail";
		
		public function ShareEvent(type:String, errorText:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			this._errorText = errorText;
			super(type, bubbles, cancelable);
		}
		
		public function get ErrorText():String
		{
			return this._errorText;
		}
		
		private var _errorText:String;
	}
}